from math import *

#导入了math包里所以的函数
sqrtTest = sqrt(16)
print(sqrtTest)

#数组示例
a = [[2,3,4,5], [6,4,3,2], [9,0,19,29]]
print(a[1][3])
print(a[-1][-1])

#序列示例
c = {1:'呵呵哒', '3':'lo', 'hehe':123}
print(c['hehe'])    #一定要注意，输出序列一定要用[]，而不是用()

#分片操作
d='hello world'
print(d[1:5])

#序列相加
print([1,2,3] + [4,3,6, 'aaa'])
print('hello ' + 'world!')

#成员资格
e='hello !!'
print('!' in e)
print('a' in e)


